/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package rg1abstractclassdemo2;

/**
 *
 * @author apple
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Student mike=new Student("mike", 18);
        Rectangle rectangle1=new Rectangle(4, 5);
        Circle circle1=new Circle(4);
        
        mike.calAreaof(rectangle1);
        mike.calAreaof(circle1);
            
    }
    
}
